package com.oop05;

public class Pet {

    public int age;
    public String name;

    //默认的无参构造
    public void shout(){
        System.out.println("叫了一声");
    }
}
